import request from "@/utils/request";

// 分类查询
export const getCategorysApi = (data) => {
    return request({
        url: '/ment/getCategorys',
        method: 'post',
        data
    })
}

// 新增分类
export const addCategorysApi = (data) => {
    return request({
        url: '/ment/addCategorys',
        method: 'post',
        data
    })
}

// 删除分类
export const delCategorysApi = (data) => {
    return request({
        url: '/ment/deleteCategorys',
        method: 'post',
        data
    })
}

